package com.accp.entity;

import java.sql.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comments {
		@TableId(value="id",type=IdType.AUTO)
		private int id;
		@TableField(value="hotEventsId")
		private int hotEventsId;
		@TableField(value="commentDate")
		private Date commentDate;
		private String content;
		@Override
		public String toString() {
			return "Comments [id=" + id + ", hotEventsId=" + hotEventsId + ", commentDate=" + commentDate + ", content="
					+ content + "]";
		}
}
